package com.vishnu.core.methodLocalInnerClassPractice;

public class Outer3 {

	int x=45;
	int y=22;
	public void m1(){
		final int y=73;
		class Inner{
			int y=34;
			 public void m2(){
				System.out.println("x="+x);//45
				System.out.println("y="+Outer3.this.y);//22
				System.out.println("y="+this.y);//34
				System.out.println("y="+y);//34
				System.out.println("y="+Inner.this.y);//34
//how can we access y present in m1() method from here?				
				
				
			}
		}
	Inner i=new Inner();
	i.m2();
	
	}
	
	public static void main(String[] args) {
		Outer3 o=new Outer3();
		o.m1();
	}
	
}
